<span class="<?php echo $class ?>">
  <label for="<?php echo $name ?>"><?php echo $title ?></label>
  <span class="form-element-body">
    <input type="text" name="<?php echo $name ?>" value="<?php echo $value ?>" maxlength="<?php echo $size ?>"/>
  </span>
</span>